package service.impl;

import org.apache.commons.lang3.StringUtils;
import service.PersionService;

/**
 * Created by yan_li on 2017/9/19.
 */
public class PersionServiceImpl implements PersionService {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void say() {
        if (StringUtils.isBlank(name)) {
            name = "zhangsan";
        }
        System.out.println("helllo," + name);
    }
}
